package com.authine.cloudpivot.ext.dao;

import com.authine.mvp.app.launcher.domain.AttachmentFormat;
import com.authine.mvp.app.launcher.domain.SelectorFormat;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName VendorGoodsMatchedQuotation
 * @Description: 预报价列表
 * @Author fj
 * @Date 2021/6/7
 * @Version V1.0
 **/
@Data
public class VendorGoodsMatchedQuotation extends SystemFields{
    /**
     * 供应商id
     */
    @Column(name = "vendor_id")
    private List<SelectorFormat> vendor_id;

    /**
     * 供应商组织名称
     */
    @Column(name = "vendor_name")
    private String vendor_name;

    /**
     * 目录
     */
    private String catalog;

    /**
     * 单位
     */
    private String unit;

    /**
     * 包装数量
     */
    @Column(name = "package_num")
    private BigDecimal package_num;

    /**
     * 包装单位
     */
    @Column(name = "package_unit")
    private String package_unit;

    /**
     * 税前商品单价
     */
    @Column(name = "pretax_price")
    private BigDecimal pretax_price;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 运费比例
     */
    @Column(name = "freight_rate")
    private BigDecimal freight_rate;

    /**
     * 平台费比例
     */
    @Column(name = "platform_rate")
    private BigDecimal platform_rate;

    /**
     * 服务费比例
     */
    @Column(name = "service_rate")
    private BigDecimal service_rate;

    /**
     * 税率
     */
    @Column(name = "tax_rate")
    private BigDecimal tax_rate;

    /**
     * 组织料号
     */
    private String sku;

    /**
     * 库存
     */
    private BigDecimal stock;

    /**
     * 保修期
     */
    private String warranty;

    /**
     * 货期
     */
    private String delivery;

    /**
     * 最小起订量
     */
    @Column(name = "min_order")
    private BigDecimal min_order;

    /**
     * 过期时间
     */
    private String expiry;

    /**
     * 长
     */
    private BigDecimal length;

    /**
     * 宽
     */
    private BigDecimal width;

    /**
     * 搞
     */
    private BigDecimal height;

    /**
     * 重量
     */
    private BigDecimal weight;

    /**
     * 运费模板id
     */
    @Column(name = "freight_template_id")
    private String freight_template_id;

    /**
     * 上下架
     */
    private Boolean saled;

    /**
     * 启禁用
     */
    private Boolean enabled;

    /**
     * 货期要求
     */
    @Column(name = "delivery_claim")
    private String delivery_claim;

    /**
     * 分类
     */
    private String category;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品型号
     */
    private String model;

    /**
     * 商品规格
     */
    private String spec;

    /**
     * 条形码
     */
    @Column(name = "bar_code")
    private String bar_code;

    /**
     * 金税编码
     */
    @Column(name = "golden_tax")
    private String golden_tax;

    /**
     * 美国电子目录编码
     */
    private String unspsc;

    /**
     * 商品描述
     */
    private String description;

    /**
     * 备注
     */
    private String memo;

    /**
     * 发货地
     */
    @Column(name = "delivery_place")
    private String delivery_place;

    /**
     * 参数信息
     */
    private String technical;

    /**
     * 包装清单
     */
    private String packaging;

    /**
     * 平台报价询价商品id
     */
    @Column(name = "vendor_matched_inq_goods_id")
    private String vendor_matched_inq_goods_id;

    /**
     * 图片
     */
    private List<AttachmentFormat> images;

    /**
     * 附件
     */
    private List<AttachmentFormat> attachment;

    /**
     * 商品id
     */
    @Column(name = "goods_id")
    private String goods_id;

    /**
     * 运费
     */
    @Column(name = "freight")
    private BigDecimal freight;

    /**
     * 含税总计
     */
    @Column(name = "amount")
    private BigDecimal amount;

    /**
     * 询价单id
     */
    @Column(name = "inquiry_id")
    private String inquiry_id;

    /**
     * 询价商品id
     */
    @Column(name = "inquiry_goods_id")
    private String inquiry_goods_id;

    /**
     * 外部来源供应商商品id
     */
    @Column(name = "client_vendor_goods_id")
    private String client_vendor_goods_id;

    /**
     * 数量
     */
    @Column(name = "num")
    private BigDecimal num;

    /**
     * 询价商品名称
     */
    @Column(name = "inquiry_goods_name")
    private String inquiry_goods_name;
}
